package com.flash.BusinessParameters.entity;

import org.springframework.stereotype.Repository;

//--证券ID
//        securityId	varchar(20)	NOT NULL	PRIMARY KEY,	--证券Id  624415
//        --证券名称
//        securityName	varchar(20)	NOT NULL,
//        --发行日期
//        releaseDate	varchar(20)	NOT NULL,
//        --延迟日期
//        delayDate	int	not null,--1为t+1，2为t+2，3为t+3，4为t+4
//        --证券类型
//        securityType	int	not null,--		1为股票，2为债券
//        --交易所
//        exchangeName	int	not null,--		1为深圳交易所，2为上海交易所
//        --板块分类
//        plateId	varchar(20)	NOT NULL,	--外键	 --P001
@Repository
public class Security {
    private String securityId;
    private String securityName;
    private String releaseDate;
    private int delayDate;
    private int securityType;
    private int exchangeName;
    private String plateId;
    private String security;
    private String exchange;

    public String getSecurity() {
        return security;
    }

    public void setSecurity(String security) {
        this.security = security;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getSecurityId() {
        return securityId;
    }

    public void setSecurityId(String securityId) {
        this.securityId = securityId;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public String getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(String releaseDate) {
        this.releaseDate = releaseDate;
    }

    public int getDelayDate() {
        return delayDate;
    }

    public void setDelayDate(int delayDate) {
        this.delayDate = delayDate;
    }

    public int getSecurityType() {
        return securityType;
    }

    public void setSecurityType(int securityType) {
        this.securityType = securityType;
    }

    public int getExchangeName() {
        return exchangeName;
    }

    public void setExchangeName(int exchangeName) {
        this.exchangeName = exchangeName;
    }

    public String getPlateId() {
        return plateId;
    }

    public void setPlateId(String plateId) {
        this.plateId = plateId;
    }

    @Override
    public String toString() {
        return "Security{" +
                "securityId='" + securityId + '\'' +
                ", securityName='" + securityName + '\'' +
                ", releaseDate='" + releaseDate + '\'' +
                ", delayDate=" + delayDate +
                ", securityType=" + securityType +
                ", exchangeName=" + exchangeName +
                ", plateId='" + plateId + '\'' +
                '}';
    }
}
